package com.imti.mall.product.service;

import com.imti.mall.model.pms.pojo.PmsProductCategoryAttributeRelation;

import java.util.List;

/**
 * ClassName: PmsProductCategoryAttributeRelationService
 * Description:
 * date: 2022/9/19 10:19
 *
 * @author: youhun
 * @version:
 * @since JDK 1.8
 */
public interface PmsProductCategoryAttributeRelationService {
    /**
     * 添加商品分类和属性的关系表
     * @param pmsProductCategoryAttributeRelation
     * @return
     */
    public boolean addPmsProductCategoryAttributeRelation(PmsProductCategoryAttributeRelation pmsProductCategoryAttributeRelation);

    /**
     * 修改商品分类和属性的关系表
     * @param pmsProductCategoryAttributeRelation
     * @return
     */
    public boolean updatePmsProductCategoryAttributeRelation(PmsProductCategoryAttributeRelation pmsProductCategoryAttributeRelation);

    /**
     * 删除商品分类和属性的关系表
     * @param pmsProductCategoryAttributeRelation
     * @return
     */
    public boolean deletePmsProductCategoryAttributeRelation(PmsProductCategoryAttributeRelation pmsProductCategoryAttributeRelation);

    /**
     * 查询商品分类和属性的关系表
     * @param pmsProductCategoryAttributeRelation
     * @return
     */
    public List<PmsProductCategoryAttributeRelation> findPmsProductCategoryAttributeRelation(PmsProductCategoryAttributeRelation pmsProductCategoryAttributeRelation);
}
